# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo12
# Description:
# Author:       98745
# Date:         2019/3/11
#-------------------------------------------------------------------------------

from numpy import *
p,w=loadtxt('data1.csv',delimiter=',',usecols=(6,7),unpack=True)
print(p)
print(w)
vmp=average(p,weights=w)
print(vmp)